# 25.py
# 描述器3
class Age:
  def __get__(self,instance, owner):
    print('get')

  def __set__(self, instance, owner):
    print('set')

  def __delete__(self, instance):
    print('delete')


class Person():
  age = Age()
  pass

p = Person()
p.age = 10
print(p.age)
del p.age
